package com.example.cookweather.db;

import org.litepal.crud.LitePalSupport;


public class City extends LitePalSupport {

    public enum CityType
    {
        //省
        province,
        //市
        city,
        //县
        country
    }

    private String name;
    private String id;
    private String parentName;
    // 1 sh
    private int cityType;


    public int getCityType() {
        return cityType;
    }

    public void setCityType(CityType cityType) {
        this.cityType = cityType.ordinal();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getParentName() {
        return parentName;
    }

    public void setParentName(String parentName) {
        this.parentName = parentName;
    }


}
